package com.cjw.pojo.query.userMange;

import com.cjw.pojo.query.PageQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : cjw
 * @date: : 2022/2/7 14:36
 * @description : 查询用户DTO
 */
@Getter
@Setter
public class UserQuery extends PageQuery {
    private String content;

    private Integer state;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date addTime;
}
